package com.lnking.lnkingplace.mapper;

import com.lnking.lnkingplace.model.dto.isolation.room.PersonDto;
import com.lnking.lnkingplace.model.entity.IsolationPlace;
import com.lnking.starter.mybatis.mapper.CustomBaseMapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhangqt
 * @since 2022-08-27
 */
public interface IsolationPlaceMapper extends CustomBaseMapper<IsolationPlace> {

    @Select(" select id from isolation_place where del_flag = 0 and place_name = #{placeName} ")
    String getPlaceId(String placeName);
}
